﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;

namespace Test4Avicap32
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private Camera ca;

        private void button1_Click(object sender, EventArgs e)
        {
            ca = new Camera(panel1.Handle, panel1.Width, panel1.Height);
            ca.StartWebCam();
        }
    }
}
